package com.sxau.software_educational_system_backend.service;

import com.aliyun.oss.model.OSSObjectSummary;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sxau.software_educational_system_backend.domain.entity.File;
import com.sxau.software_educational_system_backend.domain.req.ReqSaveFileDTO;
import com.sxau.software_educational_system_backend.domain.res.ResFileVO;

import java.util.List;

/**
* @author mi
* @description 针对表【file】的数据库操作Service
* @createDate 2025-06-01 17:04:20
*/
public interface FileService extends IService<File> {

    boolean saveFile(ReqSaveFileDTO dto);


    List<OSSObjectSummary> listOssFiles();

    boolean deleteFile(Long id);

    List<ResFileVO> listFiles();

}
